package com.three.entity;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 
 * @TableName inlibrary 入库表
 */
@Data
public class Inlibrary implements Serializable {
    /**
     * 
     */
    private Integer id;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date date;

    /**
     * 
     */
    private Integer status;

    /**
     * 
     */
    private Integer staffid;

    /**
     * 
     */
    private Integer branchid;

    /**
     * 
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone = "GMT+8")
    private Date dates;

    /**
     * 
     */
    private Integer goodsid;

    /**
     * 
     */
    private String remark;

    //关联
    private Branch branch;//分店
    private Staff staff;//员工
    private Goods goods;//商品


    private static final long serialVersionUID = 1L;
}